<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>添加用户</title>
  <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<style>
    *{
        padding: 0px;
        margin: 0px;
    }
    div{
        position: relative;
        top: 40px;
    }

</style>
<body>
<div style="width: 600px;height: 100%;margin-left: 270px">
  <form action="/add" method="post">

    用户名:<input class="form-control" type="text" th:value="${username}" name="username"><br>
    密 码:<input class="form-control" type="text" th:value="${password}" name="password"><br>
    全 名:<input class="form-control" type="text" th:value="${fullname}" name="fullname"><br>
    电 话:<input class="form-control" type="text" th:value="${mobile}" name="mobile"><br>
      <button class="btn btn-primary btn-lg btn-block">保存</button>
  </form>
</div>
</body>
</html>